//
//  SEGInviteRecordDetailModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/2/27.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGInviteRecordDetailModel.h"

@implementation SEGInviteRecordDetailModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
-(instancetype)init
{
    self = [super init];
    if (self) {
        _username = @"";
        _phone = @"";
        _award = @"";
        _status = @"";
        _winStatus = @"";
    }
    return self;
}

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}

- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{
}

- (void)setUsername:(NSString*)name{
    _username = [[SEGUtils ValueToString:name] copy];
}

- (void)setPhone:(NSString*)phone{
    _phone = [[SEGUtils ValueToString:phone] copy];
}

- (void)setAward:(NSString *)award{
    _award = [[SEGUtils ValueToString:award] copy];
}

- (void)setStatus:(NSString *)status{
    _status = [[SEGUtils ValueToString:status] copy];
}

- (void)setWinStatus:(NSString *)winStatus{
    _winStatus = [[SEGUtils ValueToString:winStatus] copy];
}
@end
